#页面类
from selenium.webdriver.common.by import By
from time import sleep
from Base.Base import Base
class Page(Base):

    #定位器
    srk_loc=(By.XPATH,'/html/body/div[1]/div/section/section/main/div/form/div[1]/div/div/div')

    #页面元素封装
    def srk(self):
        self.send_keys(self.srk_loc,'zs')
    #业务逻辑
    def luoji(self):
        self.srk()